package Zyai;

import java.util.Scanner;

public class Yuke {
    String name;
    int age;
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        String answer = "";
        Yuke yk = new Yuke();
        System.out.println("请输入姓名");
        yk.name = input.next();
        System.out.println("请输入年龄");
        yk.age = input.nextInt();
        if (yk.age<15){
            System.out.println("免费");
        }else  if (yk.age>15||yk.age<60){
            System.out.println("20");
        }else if (yk.age>60){
            System.out.println("五折");
        }
    }
}
